package cn.tom.entity;

import lombok.Data;

import java.util.Date;


@Data
public class Comment {
    private Integer id;
    private Integer rate;
    private XUser myUser;
    private Book book;
    private String content;
    private Date tpost;

    public Comment() {
        this.id = 0;
        this.myUser = new XUser();
        this.book = new Book();
        this.content = "";
    }

}
